package com.santoker.user.service.service.tp.mail;

import lombok.Data;

@Data
public class MailVo {

    private String from; //邮件发送人
    private String to; //邮件接收人
    private String subject; //邮件主题
    private String text; //邮件内容
    private String status; //状态
    private String error; //报错信息

    public boolean isSuccess() {
        return "ok".equals(this.status);
    }

}
